package com.dycx.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dycx.user.dto.VehicleTypeDTO;
import com.dycx.user.entity.VehicleTypeDO;
import com.dycx.user.vo.VehicleTypeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface VehicleTypeMapper extends BaseMapper<VehicleTypeDO> {

    Page<VehicleTypeVO> getPage(Page<VehicleTypeVO> page, @Param("param") VehicleTypeDTO dto);

    VehicleTypeVO getInfoById(@Param("id") Integer id);

    VehicleTypeVO getInfoByCarTypeName(@Param("vehicleTypeName") String vehicleTypeName);

}
